package com.lin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author lin
 * @since 2022-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("userinfo")
@AllArgsConstructor
@NoArgsConstructor
public class Userinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "uid")
    private Integer uid;

    @TableField("name")
    private String name;

    @TableField("department_did")
    private Integer departmentDid;

    @TableField("job")
    private String job;

    @TableField("manager")
    private String manager;

    @TableField("description")
    private String description;




    public static final String UID = "uid";

    public static final String NAME = "name";

    public static final String DEPARTMENT_DID = "department_did";

    public static final String JOB = "job";

    public static final String MANAGER = "manager";

    public static final String DESCRIPTION = "description";

}
